package chap03;

public class EcpetionTest {
    public static void main (String [] args)
    {

    }
    public void Exception_test(){
        int a[]=new int [3];
        try {
            a[3]=10;

        }catch(ArithmeticException e)
        {

        }
        catch(ArrayIndexOutOfBoundsException e)
        {

        }
        finally{
            System.out.println("不断的处理完数据然后必然执行这个");
        }
    }
}

